home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / WWW / httpd_1.5.export / cgi-bin / test-cgi < prev    next >
Text File  |  1995-11-09  |  721b  |  29 lines

  1. #!/bin/sh
  2.  
  3. echo Content-type: text/plain
  4. echo
  5.  
  6. echo CGI/1.0 test script report:
  7. echo
  8.  
  9. echo argc is $#. argv is "$*".
  10. echo
  11.  
  12. echo SERVER_SOFTWARE = $SERVER_SOFTWARE
  13. echo SERVER_NAME = $SERVER_NAME
  14. echo GATEWAY_INTERFACE = $GATEWAY_INTERFACE
  15. echo SERVER_PROTOCOL = $SERVER_PROTOCOL
  16. echo SERVER_PORT = $SERVER_PORT
  17. echo REQUEST_METHOD = $REQUEST_METHOD
  18. echo HTTP_ACCEPT = "$HTTP_ACCEPT"
  19. echo PATH_INFO = "$PATH_INFO"
  20. echo PATH_TRANSLATED = "$PATH_TRANSLATED"
  21. echo SCRIPT_NAME = "$SCRIPT_NAME"
  22. echo QUERY_STRING = "$QUERY_STRING"
  23. echo REMOTE_HOST = $REMOTE_HOST
  24. echo REMOTE_ADDR = $REMOTE_ADDR
  25. echo REMOTE_USER = $REMOTE_USER
  26. echo AUTH_TYPE = $AUTH_TYPE
  27. echo CONTENT_TYPE = $CONTENT_TYPE
  28. echo CONTENT_LENGTH = $CONTENT_LENGTH
  29.